package com.kg.module.jtnc.spgl.excels;

import java.util.LinkedHashMap;

/**
 * Excel使用常量 - 视频管理
 *
 * @author xxx
 * @date 2024-11-02
 */
public class KrSpglExcelConstant {
    /**
     * 导出所需的字段信息
     */
    public static LinkedHashMap<String, String> EXPORT_EXCEL_COLUMN = new LinkedHashMap<>();
    /**
     * 导入所需字段信息
     */
    public static LinkedHashMap<String, String> IMPORT_EXCEL_COLUMN = new LinkedHashMap<>();
    /**
     * 导入必填字段信息
     */
    public static LinkedHashMap<String, String> IMPORT_REQUIRED_COLUMN = new LinkedHashMap<>();

    static {
        // 初始化导出字段
        EXPORT_EXCEL_COLUMN.put("spbh", "视频编号");
        EXPORT_EXCEL_COLUMN.put("spmc", "视频名称");
        EXPORT_EXCEL_COLUMN.put("zwpz", "作物品种");
        EXPORT_EXCEL_COLUMN.put("szjd", "生长阶段");
        EXPORT_EXCEL_COLUMN.put("spjj", "视频简介");
        EXPORT_EXCEL_COLUMN.put("spdz", "视频地址");
        EXPORT_EXCEL_COLUMN.put("createTime", "上传时间");
        EXPORT_EXCEL_COLUMN.put("updateTime", "更新时间");
        // 初始化导入字段
        IMPORT_EXCEL_COLUMN.put("视频编号", "spbh");
        IMPORT_EXCEL_COLUMN.put("视频名称", "spmc");
        IMPORT_EXCEL_COLUMN.put("作物品种", "zwpz");
        IMPORT_EXCEL_COLUMN.put("生长阶段", "szjd");
        IMPORT_EXCEL_COLUMN.put("视频简介", "spjj");
        IMPORT_EXCEL_COLUMN.put("视频地址", "spdz");
        // 初始化导入必填字段
    }

}